package com.bluefeather.songlyric;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;

public class Cover extends Fragment implements OnClickListener {

	public Cover() {
	}

	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle args) {
		View view = inflater.inflate(R.layout.fragment_cover, container, false);
		view.setOnClickListener(this);
		return view;
	}

	@Override
	public void onClick(View v) {
		SongLyricActivity activity = (SongLyricActivity)getActivity();
		activity.onNavigationDrawerItemSelected(7);
		activity.invalidateOptionsMenu();
	}
}
